<?php

class Application_Form_InventoryItemAddMapping extends Zend_Form
{

	public function init()
	{
		$this->setMethod('post');

		$sku = new Zend_Form_Element_Hidden('sku');

		$inventoryItem = new Zend_Form_Element_Text('inventoryItem');
		$inventoryItem->setLabel('Inventory Item');
		$inventoryItem->addFilter('StripTags');
		$inventoryItem->setRequired(true);

		$masterCode = new Zend_Form_Element_Text('masterCode');
		$masterCode->setLabel('Mastercode');
		$masterCode->addFilter('StripTags');
		$masterCode->setRequired(true);

		$submit = new Zend_Form_Element_Submit('submit');
		$submit->setLabel('Add mapping');

		$this->addElements(array($sku, $inventoryItem, $masterCode, $submit));
	}

}

